projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7471899
)
Improve error message on open failure for Garmin/USB/Windows.
author
robertl
<robertl>
Sun, 8 Oct 2006 01:26:24 +0000
(
01:26
+0000)
committer
robertl
<robertl>
Sun, 8 Oct 2006 01:26:24 +0000
(
01:26
+0000)
jeeps/gpsusbwin.c
patch
|
blob
|
history
diff --git
a/jeeps/gpsusbwin.c
b/jeeps/gpsusbwin.c
index d823738f06a9b748ec4e8f58a0fef0210eae685e..1fe48959fc6a4bd929c49b8518c229b51fe70858 100644
(file)
--- a/
jeeps/gpsusbwin.c
+++ b/
jeeps/gpsusbwin.c
@@
-161,7
+161,7
@@
HANDLE * garmin_usb_start(HDEVINFO* hdevinfo, SP_DEVICE_INTERFACE_DATA *infodata
usb_handle = CreateFile(pdd->DevicePath, GENERIC_READ|GENERIC_WRITE,
0, NULL, OPEN_EXISTING, 0, NULL );
if (usb_handle == INVALID_HANDLE_VALUE) {
- GPS_Serial_Error("
CreateFile on '%
' failed", pdd->DevicePath);
+ GPS_Serial_Error("
(usb) CreateFile on '%s
' failed", pdd->DevicePath);
return NULL;
}